import Vue from 'vue'
import Vuex from 'vuex'
import head from './head'
Vue.use(Vuex)
export default new Vuex.Store({
  state: {
    userData : {},
  },
  mutations: {
    setUser (state, payload) {
      state.userData = payload;
    }
  },
  actions: {

  },
  modules: {
    head
  }
})
